// +---------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
// +---------------------------------------------------------------------
// | Copyright (c) 2016~2022 https://www.crmeb.com All rights reserved.
// +---------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
// +---------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +---------------------------------------------------------------------

import BasicLayout from '@/components/main';

const pre = 'group_';

export default {
  path: '/admin/group',
  name: 'group',
  header: 'group',
  redirect: {
    name: `${pre}case`,
  },
  component: BasicLayout,
  children: [
	  {
	    path: 'case',
	    name: `${pre}case`,
	    meta: {
	      auth: ['admin-group-case'],
	      title: '案件分群',
	    },
	    component: () => import('@/pages/group/case/index'),
	  },
	  {
	    path: 'suspecter',
	    name: `${pre}suspecter`,
	    meta: {
	      auth: ['admin-group-suspecter'],
	      title: '嫌疑人分群',
	    },
	    component: () => import('@/pages/group/suspecter/index'),
	  },
	  {
	    path: 'victim',
	    name: `${pre}victim`,
	    meta: {
	      auth: ['admin-group-victim'],
	      title: '受害人分群',
	    },
	    component: () => import('@/pages/group/victim/index'),
	  }
  ],
};
